﻿<%@ Page Title="" Language="C#" MasterPageFile="~/allergy/topPage.master" AutoEventWireup="true"
    CodeFile="blog_list.aspx.cs" Inherits="allergy_doctor_blog_list" %>

<%@ Register Src="../WebTop.ascx" TagName="WebTop" TagPrefix="uc1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

    <script type="text/javascript">
        jQuery(function() {
            jQuery('ul.sf-menu').superfish();
        });
    </script>

    <script type="text/javascript">
        var t = n = 0, count;
        $(document).ready(function() {
            count = $("#hp_lunhuan_list li").length;
            $("#hp_lunhuan_list li:not(:first-child)").hide();
            $("#hp_lunhuan_info").html($("#hp_lunhuan_list a:first-child").find("img").attr('alt'));
            $("#hp_lunhuan_info").click(function() { window.open($("#hp_lunhuan_list li:first-child").attr('href'), "_blank") });
            $("#hp_lunhuan li").click(function() {
                var i = $(this).text() - 1; //获取Li元素内的值，即1，2，3，4
                n = i;
                if (i >= count) return;
                $("#hp_lunhuan_info").html($("#hp_lunhuan_list li").eq(i).find("img").attr('alt'));
                $("#hp_lunhuan_info").unbind().click(function() { window.open($("#hp_lunhuan_list li").eq(i).attr('href'), "_blank") })
                $("#hp_lunhuan_list li").filter(":visible").fadeOut(1).parent().children().eq(i).fadeIn(1);
                document.getElementById("hp_lunhuan").style.background = "";
                $(this).toggleClass("on");
                $(this).siblings().removeAttr("class");
            });
            t = setInterval("showAuto()", 4000);
            $("#hp_lunhuan").hover(function() { clearInterval(t) }, function() { t = setInterval("showAuto()", 4000); });
        })

        function showAuto() {
            n = n >= (count - 1) ? 0 : ++n;
            $("#hp_lunhuan li").eq(n).trigger('click');
        }

        $(function() {
            $(".plusbtn").click(function() {
                $(this).prev(".plustxt").slideToggle();
                $(this).toggleClass("plus");
                if ($(this).text() == '收起') { $(this).text('展开全部'); } else { $(this).text('收起'); }
                return false;
            });
        });
    </script>

    <title>专家博客</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="header_warp" style="background-image: url(/allergy/images/nav8.jpg)">
        <div class="header_insde">
            <div class="header_insde_swf">
                <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
                    width="1003" height="142">
                    <param name="movie" value="/allergy/media/10/kv10_1003_142.swf" />
                    <param name="quality" value="high" />
                    <param name="wmode" value="transparent" />
                    <embed src="/allergy/media/8/kv8_1003_142.swf" width="1003" height="142" quality="high"
                        pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                        type="application/x-shockwave-flash" wmode="transparent"></embed>
                </object>
            </div>
            <div class="logo">
                <a href="#"></a>
            </div>
            <div class="navleft">
                <div style="width: 131px; height: 148px; position: absolute; margin-left: 12px; margin-top: 4px;
                    z-index: 100">
                    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0"
                        width="131" height="148">
                        <param name="movie" value="/allergy/media/131_148.swf" />
                        <param name="quality" value="high" />
                        <param name="wmode" value="transparent" />
                        <embed src="/allergy/media/131_148.swf" width="131" height="148" quality="high" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash"
                            type="application/x-shockwave-flash" wmode="transparent"></embed>
                    </object>
                </div>
            </div>
            <uc1:WebTop ID="WebTop" runat="server" />
        </div>
    </div>
    <div class="bodywarp">
        <div class="mianbaoxue">
            <strong>
                <img src="/allergy/images/now.jpg" /></strong><a href="/allergy/index.aspx">首页</a>
            > <a href="/allergy/doctor/doctor_area.aspx">医生专区</a>> <a href="#">专家博客</a><img class="p8img"
                src="/allergy/images/8-4.png" /></div>
        <div class="bodyinside1">
            <div class="p4_left p8_left">
                <div class="top" style="background-image: url(/allergy/images/8-2.png); width: 731px;
                    height: 142px;">
                    <div class="tilte335" style="padding-top: 108px;">
                        <img src="/allergy/images/zjbk.png" style="padding: 8px 0px 0px 0px;" onload="fixPNG(this)" /></div>
                </div>
                <div class="center">
                    <asp:Repeater ID="doctor_rpt" runat="server">
                        <ItemTemplate>
                            <div class="part">
                                <div class="img">
                                    <img src="/allergy/uploadfiles/image/<%# Eval("columnphoto") %>" style="width: 82px;
                                        height: 89px;" /></div>
                                <div class="txt">
                                    <p class="content">
                                        <table border="0" cellspacing="0" cellpadding="0">
                                            <tr>
                                                <td valign="top">
                                                    <strong>医生姓名: </strong>
                                                </td>
                                                <td valign="top">
                                                    <%# Eval("name")%>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td valign="top">
                                                    <strong>医生介绍: </strong>
                                                </td>
                                                <td valign="top">
                                                    <div style="width: 440px;">
                                                        <%# Eval("summary")%></div>
                                                </td>
                                            </tr>
                                            <%--                                            <tr>
                                                <td valign="top">
                                                    <strong>博客链接：</strong>
                                                </td>
                                                <td valign="top">
                                                    <a href="<%# Eval("blog")%>" style="text-decoration: underline">
                                                        <%# Eval("blog")%></a>
                                                </td>
                                            </tr>--%>
                                        </table>
                                    </p>
                                    <div class="plustxt">
                                        <p class="content">
                                            <%# Eval("experience")%></p>
                                    </div>
                                    <a class="plusbtn" href="#">展开全部</a>
                                </div>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    <!--<div class="page">
            	<div class="prev"><a href="#"><img src="/allergy/images/4-t5.png" /><span>上一页</span></a></div>
            	<div class="num"><span><a href="#">1</a></span><span><a href="#">2</a></span><span><a href="#">3</a></span><span><a href="#">4</a></span><span><a href="#">5</a></span><span><a href="#">6</a></span><span><a href="#">7</a></span></div>
            	<div class="next"><a href="#"><span>下一页</span><img src="/allergy/images/4-t6.png" /></a></div>
            </div>-->
                    <div class="clean">
                    </div>
                </div>
                <div class="bottom">
                    <img src="/allergy/images/4-t7.png" />
                </div>
            </div>
            <div class="bodyinside_right1">
                <div class="rightbanner">
                    <embed id="motoFlash" width="242" height="163" wmode="transparent" scale="noscale"
                        menu="false" quality="high" bgcolor="#ffffff" name="motoFlash" src="/allergy/counter.swf"
                        type="application/x-shockwave-flash">
                </div>
                <div class="rightbanner">
                    <embed id="Embed2" width="241" height="110" wmode="transparent" scale="noscale" menu="false"
                        quality="high" bgcolor="#ffffff" name="motoFlash" src="/allergy/media/b1.swf"
                        type="application/x-shockwave-flash"></div>
                <div class="rightbanner doyouknow">
                    <table>
                        <tr>
                            <td>
                                <asp:Repeater runat="server" ID="doKnow_rpt">
                                    <ItemTemplate>
                                        <p>
                                            <a href="/allergy/<%# Eval("parentename") %>/<%# Eval("childenamel") %>/<%# Eval("STATICPAGENAME") %>">
                                                <%# Eval("TITLE") %></a></p>
                                        </a>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </td>
                            <td>
                                <%--                                <img src="/allergy/images/dun.gif" align="absmiddle" style=" margin-bottom:110px" />
--%>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </div>
    </div>
    <div class="bodywarp_btn">
    </div>
</asp:Content>
